<?php
error_reporting(0);
session_start();
header('Content-Type:text/html; charset="utf-8"');
require('conf/config.php');							//引入配置文件
if(!file_exists(CMS_ROOT . 'conf/install.lock'))
{
	header('Location: ./install/index.php'); 		//安装
	exit;
}
require(CMS_ROOT . 'conf/func.php');				//全局公用函数
require(CMS_ROOT . 'admin/Common/page.class.php');	//引入分页类
function __autoload($className)						//自动加载类
{
	$url = CMS_ROOT . 'lib/' . $className . '.class.php';
	include($url);
}
$mysql = new mysql();
$action = new action();

//var_dump($_SESSION);
?>